Brake control unit

ABSTRACT

Towed vehicles can be extremely heavy. Accordingly, it is too much of a burden to the braking system of a towing vehicle to not have brakes on the towed vehicle. Controlling the brakes of the towed vehicle must be accurately applied otherwise very dangerous conditions can be created. A method of controlling braking of a towed vehicle is, therefore, needed. The method comprises receiving speed signals based on speed of a towing vehicle, or a towed vehicle, or both said towing vehicle and said towed vehicle, receiving pressure signals based on pressure of a hydraulic brake system of the towing vehicle, and generating a brake output signal based on the speed signals and the pressure signals.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a continuation of U.S. patent application Ser. No. 14/330,944, filed on Jul. 14, 2014, entitled “Brake Control Unit,” which is a continuation of U.S. patent application Ser. No. 11/247,010 filed on Oct. 11, 2005, now U.S. Pat. No. 8,789,896, which claims priority to U.S. Provisional Patent Application No. 60/616,989 filed on Oct. 8, 2004, which are all hereby incorporated by reference in their entirety.

FIELD OF THE INVENTION

The present invention is generally related to a brake control unit, and more particularly to a brake control unit for providing a brake output signal to brakes of a towed vehicle.

BACKGROUND OF THE INVENTION

A variety of prior art brake control units that provide a brake output signal to brakes of a towed vehicle, such as a trailer, have been proposed and/or manufactured. A number of proposed brake control units have included a brake signal generator, e.g., a deceleration sensor, whose output has been utilized to determine a magnitude for the brake output signal. In general, these brake control units have proposed utilization of a signal provided by a component, located within a towing vehicle, to determine a magnitude for a brake output signal that is provided to brakes of a towed vehicle to initiate braking of the towed vehicle. However, disclosures associated with such proposed brake control units have not disclosed how certain signals present on various automotive communication buses could be utilized to control and/or optimize control of brakes of a towed vehicle. In particular, how speed signals can be used to control and/or optimize control of the brakes of the towed vehicle.

When towed vehicles are traveling at slower speeds, the electric brakes used to stop or slow down such towed vehicles are often too aggressive causing significant jerking, or in the worst case, locking of the brakes of the towed vehicle. What is needed, therefore, is a brake control unit that is capable of applying a brake output signal to brakes of a towed vehicle that may be based on both a speed of a towing vehicle and a signal corresponding to the braking effort applied by the driver of the towing vehicle, such as hydraulic pressure of a hydraulic brake system of the towing vehicle. This would, therefore, permit the brake control unit to reduce power to the towed vehicle brakes when it is traveling at low speeds.

Further, it would be desirable for the brake control unit to determine certain towed vehicle characteristics based on both a speed of a towing vehicle and a change in the speed of the towing vehicle or towed vehicle measured over a specific time period based on a known braking effort. In addition, it would be desirable for the brake control unit to create a real-time brake output signal based on estimated driving conditions to compensate for variations in brakes of a towed vehicle that are attributable to a current speed of the towed vehicle.

Additionally, it would be desirable for the brake control unit to automatically adjust the maximum magnitude of the brake output signal and/or provide a modified initial brake output signal and/or a modified slew rate of the brake output voltage, e.g., set a gain level and/or boost level. Finally, it would be desirable for the brake control unit to determine a towed vehicle characteristic based upon an actual deceleration of a towed vehicle in response to a known output signal.

SUMMARY OF THE INVENTION

An embodiment of the present invention is directed to a method of controlling braking of a towed vehicle. The method comprises receiving a speed signal based on speed of a towing vehicle, or a towed vehicle, or both the towing vehicle and the towed vehicle, receiving a pressure signal based on pressure of a brake system of the towing vehicle, and generating a brake output signal based on the speed signal and the pressure signal.

According to another embodiment of the present invention, a method for controlling braking of a towed vehicle is disclosed. The method compromises periodically receiving speed signals based on speed of a towing vehicle, or a towed vehicle, or both the towing vehicle and the towed vehicle, providing a brake output signal to brakes of the towed vehicle, estimating towing conditions of the towed vehicle based on changes in the received speed signals attributable to the brake output signal, and modifying the brake output signal based on the estimated towing conditions to compensate for variations in the brakes of the towed vehicle.

In yet another embodiment of the present invention, a method for controlling braking of a towed vehicle comprises periodically receiving speed signals based on speed of a towing vehicle, or a towed vehicle, or both the towing vehicle and the towed vehicle, increasing power supplied by a brake output signal, e.g., a variable pulse width brake output signal, to brakes of the towed vehicle until a preset threshold deceleration is achieved for the towed vehicle, determining reduction in the speed signals over a fixed time period, determining a braking power at which the preset threshold deceleration is achieved, and determining characteristics of the towed vehicle based on the reduction in the speed.

According to yet another embodiment of the present invention, a method of controlling braking of a towed vehicle comprises receiving speed signals based on speed of a towing vehicle, or a towed vehicle, or both the towing vehicle and the towed vehicle, generating a brake output signal based on the received speed signals, the brake output signal being capable of being sent to the brakes of the towed vehicle, determining actual deceleration of the towed vehicle attributable to the brake output signal, and determining characteristics of the towed vehicle based upon the actual deceleration of the towed vehicle.

According to yet another embodiment of the present invention, a method of controlling braking of a towed vehicle comprises periodically receiving speed signals based on speed of a towing vehicle, or a towed vehicle, or both the towing vehicle and the towed vehicle, estimating a gain setting of said towed vehicle based on the speed signals, and determining a maximum braking power before the wheels of the towed vehicle lock up under prevailing conditions of the towed vehicle based on the estimated gain setting.

According to another embodiment of the present invention a method of controlling braking of a towed vehicle comprises determining deceleration of at least one of a towed vehicle, or a towing vehicle, or both the towing vehicle and the towed vehicle, determining characteristics of said towed vehicle based upon said deceleration of said towed vehicle, and modulating a brake output signal to periodically release and engage brakes of said towed vehicle, wherein the brake output signal is based on the characteristics of the towed vehicle.

According to another embodiment of the present invention a method of controlling braking of a towed vehicle comprises determining acceleration of a towed vehicle perpendicular to direction of travel of said towed vehicle, and modulating a brake output signal to periodically release and engage brakes of said towed vehicle based on said perpendicular acceleration.

According to yet another embodiment of the present invention a method of controlling braking of a towed vehicle comprises receiving a deceleration signal based on deceleration of at least one of a towed vehicle, or a towing vehicle, or both the towing vehicle and the towed vehicle, increasing power supplied by a brake output signal to brakes of said towed vehicle until a present threshold deceleration is achieved for said towed vehicle, determining a braking power at which the preset threshold deceleration is achieved, and determining characteristics of the towed vehicle based on the deceleration.

These and other features, advantages and objects of the present invention will be further understood and appreciated by those skilled in the art by reference to the following specification, claims, and appended drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

In the drawings:

FIG. 1 is an exemplary electrical block diagram of a brake control unit, according to an embodiment of the present invention;

FIGS. 2A-2B are an exemplary electrical schematic diagram of a brake control unit, according to an embodiment of the present invention; and

FIG. 3 is a flowchart of an exemplary threshold routine, according to an embodiment of the present invention.

DETAILED DESCRIPTION

A brake control unit, according to an embodiment of the present invention, includes a processor and a memory subsystem. The brake control unit is typically located within a passenger compartment of a towing vehicle, and may even be integrated with the towing vehicle. For example, the brake control unit may be integrated in the dash of the towing vehicle. The processor is programmed to provide a brake output signal to brakes or brake load, e.g., electromagnetic brakes, of a towed vehicle responsive to one or more input signals, e.g., speed signals and pressure signals, that are provided by one or more automotive subsystems of the towing vehicle. The automotive subsystems may be coupled to the processor via an analog interface, a parallel bus, or a serial communication bus, e.g., a controlled area network or high-speed controlled area network (CAN) bus. Alternatively, the input signals may be provided by an automotive subsystem located on a towed vehicle or automotive subsystems located both on the towing vehicle and the towed vehicle. Irrespective of the location of the automotive subsystem(s), the processor executes a routine to analyze the input signal(s) to determine certain characteristics of the towing and/or towed vehicle, e.g., deceleration of a towing vehicle and, in turn, deceleration of a towed vehicle. This provides the ability of electric trailer brakes to achieve a desired deceleration that is highly dependent upon an initial speed and load of an associated towed vehicle. Thus, a brake output signal may be tailored for a given initial towed vehicle speed and load, as well as road conditions to more readily achieve a desired deceleration.

The processor is also coupled to the memory subsystem that stores various routines that allow the processor to perform various functions, e.g., automatically adjusting the maximum magnitude of the brake output signal and/or providing an increased initial brake output signal (such as setting a gain and/or a boost function of the brake control unit) and to communicate with the automotive subsystem(s). The brake control unit may also include a display, such as a dual seven-segment display, that provides status and diagnostic information to an operator of the towing vehicle.

The brake control unit may also provide a proportional brake output signal to the brakes when the towing vehicle is backing-up or a fixed brake output signal when the towed vehicle is completely stopped with the brake pedal depressed, e.g., on an incline. The brakes of the towing vehicle, therefore, are not required to stop or hold the towed vehicle when the towing vehicle is backing-up or is stopped on an incline.

As shown in FIG. 1, a brake control unit 100 includes a processor 102 coupled to a memory subsystem 104, a display 106, an automotive subsystem 20, and a brake switching circuit 108. As used herein, the term “processor” may include a general purpose processor, a microcontroller, e.g., an execution unit with memory, etc., integrated within an integrated circuit, a digital signal processor (DSP), a programmable logic device (PLD), or an application specific integrated circuit (ASIC), among other such processing devices. The processor 102 may receive a manual input signal 101, a gain input signal 103, and/or a boost input toggle signal 105, among other input signals (not specifically shown in FIG. 1).

A spring-biased wiper of a potentiometer coupled between a supply voltage, e.g., derived from a vehicle battery VBATT, and ground may provide the manual input signal 101 to the manual input of the processor 102. It should be understood, however, that any other manual input device can be used. This allows an operator of the towing vehicle to apply a brake output signal to the brakes 114 of the towed vehicle without engaging the brakes of the towing vehicle. Similarly, a wiper of a rotary potentiometer coupled between a supply voltage, e.g., derived from a vehicle battery VBATT, and ground may provide the gain input signal 103 to a gain input of processor 102. Again, it should be understood that any other manual input device can be used. The gain input signal 103 allows an operator of the towing vehicle to adjust the maximum magnitude, e.g., the duty cycle, of the brake output signal provided, via the brake load switching circuit 108, to the brake load 114, e.g., brake electromagnets, of the towed vehicle.

According to one embodiment of the present invention, a boost switch coupled to a boost input of the processor 102, when actuated, causes the processor 102 to toggle between normal operation and providing an increased initial brake output signal to the brake load 114 of the towed vehicle. When a boost switch (SW1, see FIG. 2A) toggles the boost on, the processor 102 provides an initial brake output signal equal to a fraction of the maximum brake output signal currently set by the gain input signal 103. The boost switch may allow the operator to add an additional brake output signal at the start of a braking event to compensate for different towed vehicles, towed vehicle weight, or other different braking conditions, e.g., wet or dry road conditions. The boost switch may also be used to modify the transfer function of the brake control unit. This provides a faster slew rate of the output, which is especially useful for heavier towed vehicles. The boost switch allows the operator of the towing vehicle to provide a more aggressive brake setting when the brake control unit is utilized with, e.g., heavy multi-axle trailers. Alternatively, a variable boost, e.g., set with a potentiometer, or incrementally stepped values can be employed.

The display 106 may take the form of a dual seven-segment display that provides information to the operator of the vehicle in the form of alphanumeric characters, or any other configuration. As mentioned above, the automotive subsystem 20 provides an input signal to the processor 102 that the processor 102 utilizes in determining a magnitude for the brake output signal that is applied to the brakes 114 of the towed vehicle. As mentioned above, the brake output signal is applied by the brake switching circuit 108, of which one embodiment is further described below in conjunction with FIGS. 2A-2B. The automotive subsystem 20 may take various forms, e.g., a global positioning system (GPS) receiver, a wheel speed sensor, an engine speed sensor, a throttle position sensor, a Doppler sensor, etc. The automotive subsystem 20 may be located within the towed vehicle, the towing vehicle, or within a combination of the towing and towed vehicles when multiple automotive subsystems are used to provide multiple input signals.

Moving to FIGS. 2A-2B, an exemplary electrical schematic of a brake control unit 200 is illustrated, according to one embodiment of the present invention. In the embodiment of FIGS. 2A-2B, the processor 102 and the memory subsystem 104, of FIG. 1, are implemented as a microcontroller U5. The microcontroller U5 may receive a manual input signal (on pin 6) from a manual control, e.g., potentiometer, V1 and a gain input signal (on pin 8) from a gain control, e.g., a potentiometer V2. When a boost switch SW1 is present and asserted, a boost input toggle signal, as described above, may be received on pin 19 of the microcontroller U5. A suitable microcontroller is manufactured and made commercially available by Toshiba Corporation (part no. TMP87C809). The TMP87C809 includes 8 K of internal read-only memory (ROM), two hundred fifty-six bytes of internal random access memory (RAM), six internal LED drivers, eight ten-bit analog-to-digital (A/D) converter channels, one sixteen-bit timer/counter, two eight-bit timer/counters and twenty-two I/O ports. Alternatively, other microcontrollers having communication bus interface capabilities, such as CAN interface capabilities, may be used to interface with the towing vehicle bus.

In operation, the microcontroller U5 monitors the towing vehicle stoplight switch (via connector P1, pin B) on pin 21 (via a divider/filter network including a resistor R8, a resistor R9 and a capacitor C6, whose values are, for example, 10 kΩ, 22 kΩ and 0.1 μF, respectively) to determine whether to implement various stored routines. The microcontroller U5 monitors the brake output signal (provided to the brakes via connector P1, pin D and pin C (ground)) on pin 9 via a divider/filter network including a resistor R15, a resistor R22, and a capacitor C13, whose values are, for example, 22 kΩ, 10 kΩ and 4.7 μF, respectively.

The microcontroller U5 is programmed to periodically determine the speed of the towing vehicle by reading an analog level of a signal at pin 10, via a filter network including resistor R48 and capacitor C42, whose values are, e.g., 10 l Ω and 4.7 μF, respectively. Alternatively, the speed may take the form of a digital signal and be provided to a serial port of the microcontroller U5 or may be provided via the towing vehicle communication bus, such as a CAN or a local interconnect network (LIN). In either case, the microcontroller U5 implements an algorithm that periodically reads a speed input (or an input from which the speed can be derived). The speed input is used, at least in part, to determine a magnitude for a current brake output signal, e.g., a duty cycle of the brake output signal, when a brake pedal of the towing vehicle is depressed.

A change in the input signal, in general, indicates vehicle acceleration or deceleration in either a forward or reverse direction (when backing-up). When the microcontroller U5 determines that the current input signal(s) indicates the towing vehicle is not accelerating or decelerating, the microcontroller U5 causes a brake output signal to be applied to the brakes if the stop light switch is activated. When the microcontroller U5 determines that the speed input is not changing and that the stop light switch is still engaged, the microcontroller U5 causes the brake output signal to ramp up to a voltage that is a fixed percentage of a power control set point (set by the gain potentiometer V2, when implemented) after about four seconds, which produces a brake output signal during stopped or static conditions. Alternatively, the gain control may be implemented using push button switch(es) and a display.

When the vehicle is stopped and the boost is on, the brake output voltage immediately steps to a fixed percent, e.g., twenty-five percent, of the power control set point. In one embodiment, when the boost switch SW1 is pressed during the ramp function, the boost switch SW1 takes priority and the output voltage immediately changes to twenty-five percent of the power control set point.

The microcontroller U5 may also receive another input signal, e.g., a pressure input, on pin 7. The microcontroller U5 may utilize the pressure input in conjunction with the speed input to determine a magnitude for a brake output signal that is to be applied to the brakes of a towed vehicle, as is further discussed below. As is shown in FIG. 2A, the analog pressure input signal is applied to a non-inverting input of an operational amplifier U11 via a divider network that includes a resistor R46 and a resistor R45, whose values are, e.g., 11 kΩ and 10 kΩ, respectively. A resistor R43, whose value is, e.g., 10 kΩ, is coupled between an inverting input and output of the amplifier U11.

An output of a unity gain operational amplifier U12 is coupled to the inverting input of the amplifier U11 via a resistor R44, whose value is, e.g., 11 kΩ. A non-inverting input of the amplifier U12 is coupled to a wiper of a potentiometer V3 (e.g., 5 kΩ) that is coupled between ground and to a positive voltage supply (e.g., +5 volts) via a resistor R41, whose value is, e.g., 21 kΩ. The output of the amplifier U11 is coupled to a non-inverting input of an operational amplifier U13 via a resistor R42, whose value is, e.g., 10 kΩ.

A potentiometer V4 (e.g., 50 kΩ) is coupled between ground and an inverting input of the amplifier U13, with a wiper of the potentiometer V4 being coupled to the inverting input of the amplifier U13. A filter network including resistor R47 and capacitor C41, whose values are, e.g., 12Ω and 0.54 μF, respectively, is coupled between an output and the inverting input of the amplifier U13. The output of the amplifier U13 is coupled to pin 7 of the microcontroller U5 via a filter network that includes a resistor R49 and a capacitor C43, whose values are, e.g., 35 kΩ and 4.7 μF, respectively. The circuit disclosed above is used to improve the dynamic range and resolution of the pressure signal. If, however, the resolution of the analog channel of the microcontroller is sufficient, the pressure signal can be inputted directly to the analog channel of the microcontroller using a protection circuit.

Alternatively, the pressure input signal may take the form of a digital signal and be provided to a serial port, communication bus, CAN bus, or LIN bus of the microcontroller U5. It should also be appreciated that the pressure input signal may take a variety of forms. For example, the pressure input signal may be provided by a brake pedal position sensor, a brake pedal pressure sensor pad, or a hydraulic brake system pressure sensor, among other such sensors. Irrespective of the sensor that provides the pressure input signal, the input signal provides an indication of the amount of braking intended, such as by using the hydraulic pressure of the hydraulic brake system of the towing vehicle, may be utilized by the microcontroller U5 in determining an appropriate brake output signal.

The brake output signal may be provided in the form of a pulse width modulated (PWM) signal with a frequency of 250 Hz and a variable duty cycle, e.g., from zero to one-hundred percent. As shown in FIG. 2B, the brake output signal is provided via high-side drivers U2 and U3, which are coupled in parallel and switched by the microcontroller U5 (via pin 12) through an NPN transistor Q7.

A resistor R23, e.g., 10 kΩ, limits the base current of transistor Q7 and a resistor R4, e.g., 10 kΩ, pulls the collector of the transistor Q7 to the vehicle battery VBATT (provided via connector P1, pin A) when the transistor Q7 is turned off. The collector of the transistor Q7 is also coupled, through a current limiting resistor R5, e.g., 10 kΩ, to a gate (pin 2) of high-side drivers U2 and U3. A drain (pin 3) of the drivers U2 and U3 is coupled to VBATT and a source (pin 5) of the drivers U2 and U3 is coupled to the brakes 114 (FIG. 1) of the towed vehicle. When the transistor Q7 is turned on by the microcontroller U5, the drivers U2 and U3 are shut-off and a brake output signal is not provided to the brakes. When the microcontroller U5 turns the transistor Q7 off, the drivers U2 and U3 are turned on and a brake output signal is provided to the brakes 114 of the towed vehicle.

A suitable high-side driver is manufactured and made commercially available by ST Microelectronics (part no. VN920). The VN920 is a single channel high-side solid-state relay intended for driving any kind of load with one side connected to ground. The VN920 incorporates an internal charge pump that provides voltage to drive the gate of an internal n-channel MOSFET to a voltage higher than VBATT. This eliminates the external charge-pump circuitry normally needed to drive an n-channel MOSFET. The VN920 also permits a one hundred percent duty cycle as a minimum off-time is not required to recharge a charge-pump capacitor.

The drivers U2 and U3 include a built-in current-sense circuit that produces a current from the sense pin (pin 4) that is proportional to the current delivered to the load by the drivers U2 and U3. This current sense output is monitored by the microcontroller U5 (pins 4 and 20) via a filter network including a sense resistor R10, a resistor R3, and a capacitor C11, whose values are, e.g., 470Ω, 10 kΩ and 3300 ρF, respectively. This allows the microcontroller U5 to measure the current delivered to the load as well as determine whether a current overload condition exists with the brakes.

The microcontroller U5 also monitors the voltage across capacitor C5, via pin 5, to determine whether an open ground or short exists. The voltage across capacitor C5 is divided by resistors R7, e.g., 47 kΩ, and R13, e.g., 10 kΩ, before being provided to the microcontroller U5, such that the maximum input voltage to the microcontroller U5 is not exceeded.

Anytime the output is pulsed, current is delivered to the electromagnets building up energy in the magnetic field. When the pulse ends, the current will continue to flow and charge capacitor C5. The voltage across capacitor C5, therefore, rises above that of the vehicle battery VBATT. If pulsing continues, the circuit can be damaged by excess voltage. Therefore, when the voltage rises above a preset value, e.g., 18 volts, the microcontroller U5 is programmed to determine that the brakes 114 are not operating properly and provides status information to an operator of the vehicle, via display DS1. When the voltage falls below a preset value, e.g., 8 volts, the microcontroller U5 is programmed to determine that the brakes 114 are shorted and provide status information to an operator of the vehicle via display DS1. The microcontroller U5 is programmed to provide appropriate information to an operator of the vehicle, via the display DS1, by illuminating an appropriate segment or segments and/or indicators of the seven-segment displays. A suitable display is manufactured and made commercially available by FEMA (part no. DA20)

According to another embodiment of the present invention, the microcontroller U5 is programmed to automatically set at least one of a gain level and a boost level for the brake control unit 200. The microcontroller U5 determines an appropriate gain level and/or boost level for the brake control unit 200 by performing a number of programmed tasks. Initially, the microcontroller U5 causes a brake output signal to be provided to the brakes of a towed vehicle when a brake pedal of a towing vehicle is depressed and before the brakes of the towing vehicle can respond to the depression of the brake pedal. The microcontroller U5 is also programmed to detect a deceleration of the towed vehicle attributable to the brake output signal.

The detected deceleration provides an indication of towed vehicle characteristics, such as brake temperature, brake pad wear, proximity of brake pads to the brake drum, brake magnet strength, brake spring strength, brake pad moisture, battery voltage, number of axles, load of towed vehicle, weight distribution of towed vehicle, tire conditions of tires of the towed vehicle, speed, etc. It also provides an indication of the road conditions. It should be appreciated that a brake control unit that is capable of automatically setting a gain level and/or a boost level does not require the potentiometer V2 or the boost switch SW1 and its associated components, e.g., resistor R18 and capacitor C12 (see FIG. 2A). For example, if the speed signal of the towed vehicle is about zero (meaning that the wheels of the towed vehicle are locked), the brake output signal is substantially equal to the reduced gain setting. This means that the brake output signal corresponds to a maximum brake output signal that can be applied to the brakes of the towed vehicles based on the towed vehicle characteristics. This reduced gain setting will continue to apply the reduced power to the brake load until such gain setting is modified. Finally, the gain setting reduces power to the brake load irrespective of the pressure signals received.

It should be appreciated that even during rapid depression of a towing vehicle brake pedal there is a period of latency before hydraulic brakes of the towing vehicle are actually applied. Thus, if brakes of a towed vehicle are quickly ramped up after sensing a stoplight signal and before the hydraulic brakes of the towing vehicle can respond a “tug” that is a result of the towed vehicle brake initiation can be detected. This “tug” provides an indication of the onset of towed vehicle braking and can be utilized to determine a desired boost level. This obviates the need for a separate boost switch that has generally been utilized to help a towed vehicle lead a towing vehicle in braking. Thus, when the voltage ramp passes the point of onset of braking the ratio of deceleration to voltage change can be determined and utilized as a brake effectiveness coefficient. This provides a basis for automatic gain and boost control.

According to another embodiment of the present invention, a brake output signal, e.g., braking voltage, can be modulated at a given rate while deceleration is logged. This can be of particular assistance on surfaces with a low coefficient of friction and with towed vehicles having lighter loads that tend to result in locked wheels. This modulation is a low frequency modulation. It can be accomplished by sending a signal to periodically release and engage the brakes of the towed vehicle to gain better control of braking of the towed vehicle. This creates a system similar to an anti-lock brake system for the towed vehicle. Additionally, the brake control unit may also include a three-axis accelerometer. This accelerometer can be used to determine the acceleration of the towed vehicle perpendicular to direction of travel of the towed vehicle. This signal is sent to the brake control unit and the brake control unit modulates the brake output signal to periodically release and engage brakes of the towed vehicle based on the perpendicular acceleration. This can lead to a more suitable braking event for the towed vehicle.

As is discussed above, in brake control units that have a gain input, an operator of the towing vehicle can adjust the maximum magnitude, e.g., the duty cycle, of a brake output signal provided via the brake switching circuit to the brakes of a towed vehicle. Further, in brake control units that have implemented a boost switch, the operator has an additional brake output signal at the start of a braking event and can provide a variable slew rate following that. This can compensate for different towed vehicles, towed vehicle weight, or other different braking features, e.g., wet or dry road conditions. This can also allow an operator to provide a more aggressive brake setting when the brake control unit was utilized with, e.g., heavy multi-axle towed vehicles.

According to one embodiment of the present invention, when a processor of a brake control unit determines that an input signal, e.g., a speed input signal and/or a hydraulic brake pressure input signal, is not changing and a towing vehicle stoplight switch is still engaged, the processor causes the brake output signal to ramp up to a voltage that is a fixed percentage of the power control set point. This may be set by a gain potentiometer after a predetermined period of time. This allows the brake control unit to provide a brake output signal during stopped or static conditions. However, during certain conditions, such as with steady application of a brake pedal of the towing vehicle on a very smooth downhill grade, a brake control unit implementing such a ramp function may implement the ramp function while the vehicle is moving. As a speed signal provided by an automotive subsystem may provide no indication of movement.

Thus, in general, it is desirable to implement a braking control routine that is capable of determining when a ramp function is implemented while the vehicle is in motion. One such braking control routine is disclosed in U.S. Pat. No. 6,615,125, entitled BRAKE CONTROL UNIT, which is hereby incorporated herein by reference in its entirety. This braking control routine determines if the ramp function is activated when the vehicle is in motion and acts to terminate the ramp function in such a case. In the present case, towed vehicle motion may be detected by evaluating whether acceleration or deceleration is taking place by, e.g., monitoring a speed input. By implementing a timer/counter or a time delay routine, the microcontroller U5 can determine whether the timer has exceeded a wait value. This is implemented to provide an indication that the towing vehicle is, in fact, stopped. If the timer/counter has exceeded the wait value, e.g., 4 seconds, the microcontroller U5 activates the ramp function as described above. When the microcontroller U5 determines a deceleration exceeds a deceleration threshold the ramp function is terminated as this indicates that the towing vehicle is in motion.

According to another embodiment of the present invention, an automatic boost and/or gain routine can be implemented by providing a brake output signal to brakes of a towed vehicle while the towed vehicle is in motion. In implementing an automatic boost and/or gain routine, the microcontroller U5 determines whether a brake pedal of a towing vehicle is depressed. This is done in a matter similar to that described with respect to FIGS. 2A and 2B above. If the brake pedal of the towing vehicle is depressed, the microcontroller U5 causes a brake output signal to be provided to brakes of the towed vehicle. Next, the microcontroller U5 detects deceleration of the towed vehicle that is attributable to application of the known brake output signal. In this manner, the microcontroller U5 can determine the relationship between the detected deceleration and the known brake output signal. The deceleration of the towed vehicle, with respect to a given brake output signal, provides an indication of the towed vehicle characteristics such as The detected deceleration provides an indication of towed vehicle characteristics, such as brake temperature, brake pad wear, proximity of brake pads to the brake drum, brake magnet strength, brake spring strength, brake pad moisture, battery voltage, number of axles, load of towed vehicle, weight distribution of towed vehicle, tire conditions of tires of the towed vehicle, speed, etc. It also provides an indication of the road conditions. Thus, the ratio of the deceleration to the brake output signal can be associated with an appropriate value in, e.g., a look-up table that is utilized by the microcontroller U5 to determine an appropriate boost level and/or gain level for the brake control unit.

According to another embodiment of the present invention, the microcontroller U5 may be programmed to automatically control braking of a towed vehicle responsive to multiple inputs. For example, the microcontroller U5 may receive speed signals that are indicative of a speed of at least one of a towing vehicle and a towed vehicle, and a brake signal that is indicative of a hydraulic pressure of a hydraulic brake system of the towing vehicle. The microcontroller U5 then responds by applying a brake output signal whose magnitude is based on both the speed and the brake signal to brakes of the towed vehicle.

An exemplary algorithm for implementing such a program is set forth below: VOUT=f1(VBP)*f2(SPEED)*TBC*f3(GAIN) where VOUT is the magnitude of the brake output signal, e.g., between zero and twelve volts; TBC is 1 if the towed vehicle brakes are sensed and 0 if the towed vehicle brakes are not sensed; GAIN is greater than zero and less than or equal to one; VBP is a scaled value of the hydraulic brake pressure signal, e.g., between zero and five volts; and SPEED is a scaled value of the speed signal provided by a sensor located in the towing/towed vehicle. It should be understood, however, that this algorithm is merely an exemplary embodiment and that other algorithms are contemplated herein.

In another embodiment, the microcontroller U5 is also programmed to determine a relationship between the speed and a speed threshold. The microcontroller U5 is programmed to modify the brake output signal to provide less power to the brakes as a function of the speed when the speed is below the speed threshold, e.g., 25 kilometers/h. In another embodiment, the microcontroller U5 is programmed to modify the brake output signal to provide power to the brakes as a function the pressure. In yet another embodiment, the microcontroller U5 is programmed to modify the brake output signal to provide power to the brakes as a function of the speed and as a function of the pressure.

With reference to FIG. 3, a threshold routine 300 is initiated at step 302. At step 304 the microcontroller U5 receives a speed signal from, e.g., a GPS receiver. Next, in step 306 the microcontroller U5 receives a pressure signal from, e.g., a hydraulic brake system pressure sensor. As the brake signal output is a function of both the brake pressure and the towing vehicle speed, the brake signal output is first calculated as a function of the brake pressure. Accordingly, at step 308 the microcontroller U5 calculates the brake output signal as a function of the brake pressure, which is OUTPUTpr. OUTPUTpr is a substantially non-linear or piecewise linear function of the brake pressure. Next, at step 310, the microcontroller U5 calculates a multiplying factor (MF) based on the speed signal. The MF is less than 1. Then, at step 312 the microcontroller U5 modifies the OUTPUTpr by multiplying it with MF. This results in the appropriate brake output signal, which is applied to the brakes of the towed vehicle at step 314. It should be noted that MF is a substantially non-linear or piecewise linear function of the speed. Thus, in general, VOUT=f1(brake pressure)*f2(speed), where f1 and f2 are substantially non-linear or piecewise linear functions.

It should be appreciated that the speed signals may be provided by various sources, e.g., a global positioning system (GPS) receiver, a wheel speed sensor, an engine speed sensor, a throttle position sensor and a Doppler sensor. Such sources may be interfaced with the microcontroller via analog channel, CAN bus, LIN bus, or serial communication.

According to yet another embodiment, the microcontroller is programmed to determine an actual deceleration of the towed vehicle based upon the speed signals and determine a towed vehicle characteristic, based upon the actual deceleration of the towed vehicle. Alternatively, the actual deceleration of the towed vehicle may be determined using a deceleromter interfaced with microcontroller. Regardless of the method used, the microcontroller U5 then causes the brake output signal to be adjusted to achieve a desired deceleration for the towed vehicle. The towed vehicle characteristic may include, without limitation, brake temperature, brake pad wear, proximity of brake pads to the brake drum, brake magnet strength, brake spring strength, brake pad moisture, battery voltage, number of axles, load of towed vehicle, weight distribution of towed vehicle, tire conditions of tires of the towed vehicle, speed, etc. It also provides an indication of the road conditions.

According to another embodiment, the microcontroller U5 is programmed to periodically receive speed signals that are indicative of a speed of a towing vehicle and/or a towed vehicle. The microcontroller U5 is further programmed to increase power supplied by a variable brake output signal to the brakes of the towed vehicle until a preset threshold deceleration, e.g., −2 m/s2 is achieved for the towed vehicle. Next, the microcontroller U5 determines a braking power at which the preset threshold deceleration is achieved. The microcontroller U5 also determines a towed vehicle characteristic based on both the speed signal and a known braking time in which the preset threshold deceleration is achieved. For example, if the change in deceleration compared with the change of time is above a certain threshold, e.g., 25 kilometers per hour, the microcontroller U5 can determine the status of the brakes, e.g., are they heated and/or are they aligned properly.

According to still another embodiment, the microcontroller U5 is programmed to periodically receive speed signals that are indicative of a speed of a towing vehicle and/or a towed vehicle. The microcontroller U5 is further programmed to provide a brake output signal to brakes of the towed vehicle. In this manner, the microcontroller U5 can estimate driving conditions as seen by the towed vehicle based on changes in the received speed signals attributable to the brake output signal. In response to the estimated driving conditions the microcontroller U5 then creates a second, real-time brake output signal to compensate for variations in brakes of the towed vehicle that are attributable to a current speed of the towed vehicle. The microcontroller may estimate driving conditions by determining a braking effectiveness for the towed vehicle braking based on a reduction in value of the received speed signals. It then adjusts a pulse width of the brake output signal based upon the effectiveness of the towed vehicle braking. In this manner, the microcontroller U5 provides a real-time brake output signal further modified by the previous output signal that also compensates for variable towed vehicle characteristics. Additionally, the microcontroller U5 can assess and compensate for the load of the towed vehicle and the current road condition even when no braking event is occurring so long as too much power is not sent.

According to yet another embodiment, the microcontroller U5 is programmed to receive speed signals indicative of a speed of a towing vehicle and/or a towed vehicle and apply a brake output signal to brakes of the towed vehicle. The microcontroller U5 then determines an actual deceleration of the towed vehicle attributable to the brake output signal and based upon the received speed signals. The microcontroller U5 then determines a towed vehicle characteristic based upon the actual deceleration of the towed vehicle.

According to another embodiment, the microcontroller U5 is programmed to determine a speed of a towing vehicle and/or a towed vehicle, determine a pressure of a hydraulic brake system of the towing vehicle, and apply a brake output signal to brakes of the towed vehicle. In this embodiment, power provided to the brakes by the brake output signal is a function of the speed and the hydraulic pressure. In a related embodiment the microcontroller U5 also determines a relationship of the speed of the towing vehicle and a speed threshold and modifies the brake output signal to provide less power to the brakes as a function of the speed when the speed is below the speed threshold. In addition, the microcontroller U5 modifies the brake output signal to provide power to the brakes as a function of the pressure.

In another different embodiment, the microcontroller U5 periodically receives speed signals that are indicative of a speed of a towing vehicle and/or a towed vehicle. The microcontroller U5 also causes a brake output signal to be provided to brakes of the towed vehicle. The microcontroller U5 then determines an actual deceleration of the towed vehicle attributable to the brake output signal based upon a change in the speed of the towing vehicle or by using a deceleration signal from an accelerometer. The microcontroller U5 uses the actual deceleration of the towed vehicle to estimate towing conditions seen by the towed vehicle. The microcontroller U5 then determines a pressure of a hydraulic brake system of the towing vehicle and the real-time brake output signal is further modified based on the estimated driving conditions, the hydraulic pressure, and current speed of the towed vehicle.

Modification of the invention will occur to those skilled in the art and to those who make or use the invention, including, without limitation, the values provided for the various elements disclosed above. It should be understood that such values are exemplary values and the present invention is not limited to those values. Therefore, it is understood that the embodiments shown in the drawings and described above are merely for illustrative purposes and not intended to limit the scope of the invention, which is defined by the following claims as interpreted according to the principles of patent law, including the Doctrine of Equivalents. 

The invention claimed is:
 1. A method of controlling braking of a towed vehicle, the method comprising: receiving a speed signal based on a speed of at least one of a towing vehicle and a towed vehicle; sending a brake output signal based the speed signal to brakes of the towed vehicle to provide power to the brakes; determining a relationship between the speed of at least one of a towing vehicle and a towed vehicle and a speed threshold; applying a function to modify the brake output signal only when the speed of at least one of the towing vehicle and the towed vehicle is below the speed threshold, wherein the function modifies the brake output signal based on the speed of at least one of the towing vehicle and the towed vehicle; and wherein the brake output signal is not modified based on the speed of at least one of the towing vehicle and the towed vehicle when the speed of at least one of the towing vehicle and the towed vehicle is above the speed threshold.
 2. A method of controlling braking of a towed vehicle, the method comprising: receiving an input signal based on a pressure in a brake system of a towing vehicle; generating a brake output signal based on the input signal; sending the brake output signal to brakes of the towed vehicle to provide power to the brakes; applying the brakes of the towed vehicle based on the brake output signal; receiving a speed signal based on a speed of at least one of the towing vehicle and the towed vehicle; determining a relationship between the speed of at least one of the towing vehicle and the towed vehicle and a speed threshold; applying a function to modify the brake output signal only when the speed of the towing vehicle is below the speed threshold; wherein the function modifies the brake output signal based on the input signal; and wherein the brake output signal is not modified based on the speed of the towing vehicle when the speed of the towing vehicle is above the speed threshold.
 3. A method of controlling braking of a towed vehicle comprising: receiving a speed signal based on a speed of a towing vehicle, or a towed vehicle, or both the towing vehicle and the towed vehicle; generating a brake output signal based on the received speed signals, the brake output signal configured to be sent to brakes of the towed vehicle; determining an actual deceleration of the towed vehicle attributable to the brake output signal; and determining characteristics of the towed vehicle based upon the actual deceleration of the towed vehicle.
 4. The method of claim 3, further comprising: determining relationship of the speed of the towing vehicle and a speed threshold; and modifying the brake output signal to provide less power to the brakes of the towed vehicle as a function of speed when the speed of a towing vehicle, or a towed vehicle, or both the towing vehicle and the towed vehicle is below the speed threshold.
 5. The method of claim 4, further comprising: receiving pressure signals based on a pressure of a hydraulic brake system of the towing vehicle; and modifying the brake output signal to provide power to the brakes of the towed vehicle as a function of pressure.
 6. A method of controlling braking of a towed vehicle, the method comprising: determining a deceleration of at least one of a towing vehicle, or a towed vehicle, or both the towing vehicle and the towed vehicle; determining characteristics of the towed vehicle based upon the deceleration of the towed vehicle; and modulating a brake output signal to periodically release and engage brakes of the towed vehicle, wherein the brake output signal is based on the characteristics of the towed vehicle.
 7. The method of claim 6 further comprising: determining the speed of the towing vehicle or the towed vehicle or both the towing vehicle and the towed vehicle; and modulating the brake output signal to periodically release and engage the brakes of the towed vehicle, wherein the brake output signal is based at least in part on the speed of the towing vehicle or the towed vehicle or both the towing vehicle and the towed vehicle.
 8. The method of claim 7, wherein the speed of the towing vehicle or the towed vehicle or both the towing vehicle and the towed vehicle is determined based on at least one of a global positioning system receiver, a wheel speed sensor, an engine speed sensor, a throttle position sensor, and a Doppler sensor.
 9. The method of claim 6, further comprising: determining a hydraulic pressure of a hydraulic brake system of the towing vehicle; and modulating the brake output signal to periodically release and engage the brakes of the towed vehicle, wherein the brake output signal is based at least in part on the pressure of the hydraulic brake system of the towing vehicle.
 10. The method of claim 9, wherein the hydraulic pressure is determined based on at least one of a hydraulic pressure sensor, a brake pedal sensor, a brake pad sensor, and a signal from a communications bus.
 11. A method of controlling braking of a towed vehicle, the method comprising: determining a lateral acceleration of a towed vehicle perpendicular to a longitudinal direction of travel of the towed vehicle; modulating a brake output signal to periodically release and engage brakes of the towed vehicle based on a perpendicular acceleration; determining a road condition; and modulating the brake output signal to periodically release and engage the brakes of the towed vehicle based on the road condition.
 12. The method of claim 11 further comprising: determining a vehicle characteristic of the towed vehicle; and modulating the brake output signal to periodically release and engage the brakes of the towed vehicle based the vehicle characteristic.
 13. The method of claim 12, wherein the vehicle characteristic is one of a brake temperature of the towed vehicle, brake pad wear of the towed vehicle, proximity of brake pads to brake drum of the towed vehicle, brake magnet strength of the towed vehicle, brake spring strength of the towed vehicle, brake pad moisture of the towed vehicle, battery voltage of the towed vehicle, number of axles of the towed vehicle, load of the towed vehicle, weight distribution of the towed vehicle, tire conditions of tires of the towed vehicle, speed of the towed vehicle and road conditions as experienced by the towed vehicle.
 14. The method of claim 11 further comprising determining the speed of the towing vehicle or the towed vehicle or both the towing vehicle and the towed vehicle; and modulating the brake output signal to periodically release and engage the brakes of the towed vehicle based at least in part on the speed of the towing vehicle or the towed vehicle or both the towing vehicle and the towed vehicle.
 15. The method of claim 14, wherein the speed of the towing vehicle or the towed vehicle or both the towing vehicle and the towed vehicle is determined based on at least one of a global positioning system receiver, a wheel speed sensor, an engine speed sensor, a throttle position sensor, a Doppler sensor, and signal a communications bus.
 16. The method of claim 11 further comprising: determining a hydraulic pressure of a hydraulic brake system of the towing vehicle; and modulating the brake output signal to periodically release and engage the brakes of the towed vehicle, wherein the brake output signal is based at least in part on the pressure of the hydraulic brake system of the towing vehicle.
 17. The method of claim 16, wherein the hydraulic pressure is determined based on at least one of a hydraulic pressure sensor, a brake pedal sensor, a brake pad sensor, and a signal from a communications bus.
 18. A method for controlling braking of a towed vehicle, the method comprising: receiving a deceleration signal based on a deceleration of a towing vehicle, or a towed vehicle, or both the towing vehicle and the towed vehicle; increasing a braking power supplied by a brake output signal to brakes of the towed vehicle until a preset threshold deceleration is achieved for the towed vehicle; determining a braking power to brakes of the towed vehicle at which the preset threshold deceleration is achieved; and determining characteristics of the towed vehicle based on the deceleration of the towed vehicle.
 19. The method of claim 18 further comprising determining the speed of the towing vehicle or the towed vehicle or both the towing vehicle and the towed vehicle; and modulating the brake output signal to periodically release and engage the brakes of the towed vehicle based at least in part on the speed of the towing vehicle or the towed vehicle or both the towing vehicle and the towed vehicle.
 20. The method of claim 19, wherein the speed is determined based on at least one of a global positioning system receiver, a wheel speed sensor, an engine speed sensor, a throttle position sensor, a Doppler sensor, and signal a communications bus. 